<include file="Public:head"/>
<link rel="stylesheet" href="../Public/css/list.css" type="text/css">
</head>
<body>
<div id="doc4" class="yui-t1">
<include file="Public:top"/>
  <div id="bd">
	<div id="yui-main">
        <div class="yui-b cp">
            <h1>{:L("_my_pm_")}</h1>
            <div class="act"><a href="__URL__/pm_add">{:L("_pm_add_")}</a></div>
            <p>
            {$showpage}
            </p>
            <table border="0" width="800" class="list">
            	<tbody>
                	<tr>
                    	<th width="5%">id</th>
                        <th width="45%">{:L("_pm_title_")}</th>
                        <th width="15%">{:L("_pm_ctime_")}</th>
                        <th width="5%">{:L("_pm_isnew_")}</th>
                        <th width="12%">{:L("_pm_send_user_")}</th>
                        <th width="18%">{:L("_pm_action_")}</th>
                    </tr>
                    <volist name="pmlist" id="v">
                    	<tr>
                        	<td height="35">{$i}</td>
                            <td><a href="{:ru("Member/pm_view",array("id"=>$v['id']))}">{$v['title']}</a></td>
                            <td>{$v['ctime']|toDate}</td>
                            <td>{$v['ifnew']}</td>
                            <td><a href="{:ru("Member/pm_add",array("fromuid"=>$v['touid']))}">{$v['tousername']}</a>
                            </td>
                            <td>
                            <a href="__URL__/pm_view/id/{$v['id']}" title="{:L("_site_edit_")}">View</a> | 
                            <a href="__URL__/pm_delete/id/{$v['id']}" title="{:L("_site_edit_")}">Delete</a>
                            </td>
                        </tr>
                    </volist>
                </tbody>
            </table>
            <p>
            {$showpage_bot}
            </p>
        </div>
    </div>
    <div class="yui-b">
    	<include file="Member:left"/>
    </div>
  </div>
<include file="Public:foot"/>
